<?php

/**
 * empleados form.
 *
 * @package    gescell
 * @subpackage form
 * @author     Your name here
 * @version    SVN: $Id: sfPropelFormTemplate.php 10377 2008-07-21 07:10:32Z dwhittle $
 */
class empleadosForm extends BaseempleadosForm
{
  public function configure()
  {
      $this->setValidators(array(
      'sf_guard_user'        => new sfValidatorPropelChoice(array('model' => 'sfGuardUser', 'column' => 'id')),
      'nombre'               => new sfValidatorString(array('max_length' => 50, 'required' => false)),
      'apellido'             => new sfValidatorString(array('max_length' => 50, 'required' => false)),
      'documento'            => new sfValidatorString(array('max_length' => 15, 'required' => false)),
      'direccion'            => new sfValidatorString(array('max_length' => 50, 'required' => false)),
      'ciudad'               => new sfValidatorString(array('max_length' => 50, 'required' => false)),
      'telefonoparticular'   => new sfValidatorString(array('max_length' => 50, 'required' => false)),
      'telefonocasa'         => new sfValidatorString(array('max_length' => 50, 'required' => false)),
      'correo1'              => new sfValidatorEmail(array('required' => false)),
      'correo2'              => new sfValidatorEmail(array('required' => false)),
      'informacionadicional' => new sfValidatorString(array('max_length' => 50, 'required' => false)),
      'created_at'           => new sfValidatorDateTime(array('required' => false)),
      'updated_at'           => new sfValidatorDateTime(array('required' => false)),
      'id'                   => new sfValidatorPropelChoice(array('model' => 'empleados', 'column' => 'id', 'required' => false)),
    ));
  }
}
